build: Require sysprof 3.38.0
authorMatthias Clasen <mclasen@redhat.com>
Thu, 8 Oct 2020 23:23:23 +0000 (19:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:05:46 +0000 (15:05 -0400)
We use sysprof_collector_request_counters, which
was introduced in sysprof 3.38.0.

meson.build

index ab4e0a1f31cc8282f3fc0408a6f2e5be498d3b94..85a605c2c9c17893bebc1efd77dde2d34aecf90b 100644 (file)
@@ -34,6 +34,7 @@ graphene_req       = '>= 1.9.1'
 epoxy_req          = '>= 1.4'
 cloudproviders_req = '>= 0.3.1'
 xkbcommon_req      = '>= 0.2.0'
+sysprof_req        = '>= 3.38.0'
 
 gnome = import('gnome')
 
@@ -680,7 +681,7 @@ cdata.set('HAVE_CLOUDPROVIDERS', cloudproviders_dep.found())
 
 # libsysprof-capture support
 if not get_option('sysprof').disabled()
-  libsysprof_capture_dep = dependency('sysprof-capture-4',
+  libsysprof_capture_dep = dependency('sysprof-capture-4', version: sysprof_req,
     required: get_option('sysprof'),
     default_options: [
       'enable_examples=false',